package com.cy.aircompressor.db.bean;

import androidx.annotation.NonNull;
import androidx.room.Entity;

import com.drug.lib.view.recycptr.bean.BaseEntity;

import java.util.UUID;

/**
 * 版权：周和权 版权所有
 *
 * @author zhouhequan
 * 版本：1.0
 * 创建日期：2021/11/12 or 22:28
 * 描述：---
 */
@Entity(tableName = "app_auth", primaryKeys = {"id"})
public class AuthBean extends BaseEntity {
    @NonNull
    private String id = UUID.randomUUID().toString();
    //   "name"
    private String name;
    //   "用户类型"
    private String type;
    //   "用户头像"
    private String avatar;
    //   "用户性别"
    private String gender;

    @NonNull
    public String getId() {
        return id;
    }

    public void setId(@NonNull String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }
}
